import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from "axios"
import VueAxios from 'vue-axios'
import 'vant/lib/toast/style';
import { PullRefresh} from 'vant';

Vue.use(VueAxios, axios)
import { MessageBox} from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.prototype.$msgbox = MessageBox;

axios.defaults.baseURL = process.env.VUE_APP_BASE_API;



Vue.use(PullRefresh);
Vue.config.productionTip = false
Vue.prototype.$axios = axios
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
